import Cookies from 'js-cookie'
const getCookies = (key: string) => {
  const value = Cookies.get('session')
  return value
}
const getAllCookies = () => {
  return Cookies.get()
}
const setCookies = (key: string, value: any) => {
  return Cookies.set(key, value)
}
const removeCookies = (key: string) => {
  Cookies.remove(key)
}

export { getCookies, getAllCookies, setCookies, removeCookies }
